package com.ctvit.breadking.news.task.pojo.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

@Getter
@Setter
@ToString
public class HttpLogEntity {

    public static final String COLLECTION_HTTP_LOG = "bncs_http_log";
    public static final String FIELD_ID = "id";
    public static final String FIELD_CODE = "code";
    public static final String FIELD_NAME = "name";
    public static final String FIELD_URL = "url";
    public static final String FIELD_REQUEST_METHOD = "request_method";
    public static final String FIELD_REQUEST_BODY = "request_body";
    public static final String FIELD_REQUEST_TIME = "request_time";
    public static final String FIELD_RESPONSE_BODY = "response_body";
    public static final String FIELD_RESPONSE_TIME = "response_time";

    protected String id;
    protected String code;
    protected String name;
    protected String url;
    protected String requestMethod;
    protected String requestBody;
    protected Long requestTime;
    protected String responseBody;
    protected Long responseTime;
    protected Date createTime;

}
